package com.pkutech.carcasher.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.pkutech.carcasher.R;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * “后备箱”模块
 * Created by cyy on 2016/6/10.
 */
public class TrunkActivity extends BaseActivity {
    @BindView(R.id.toolbar)
    Toolbar toolbar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_trunk);
        ButterKnife.bind(this);
        initToolbar(toolbar);
    }

    public void toAiDaiJiaWebPage(View view){
        Intent intents = new Intent();
        intents.setClass(this, WebContentActivity.class);
        intents.putExtra(WebContentActivity.TAG_TITLE, "爱代驾");
        intents.putExtra(WebContentActivity.TAG_URL, "https://www.hao123.com/");
        startActivity(intents);
    }
}